package cn.jd.basic.constant;

public class BaseConstants {
    public class VerfityCodeCons{
        // 手机号注册 验证码的rediskey
        public static final String REGISTER_SMSCODE_PHONE = "register:smscode:%s";
    }
    /**
     * wechat
     * 微信登录
     */
    public class WxLoginCons{
        // 微信开放平台的appId的值
        public static final String WX_APPID="wxd853562a0548a7d0";
        // 微信开放平台secret的值
        public static final String WX_SECRET="4a5d5615f93f24bdba2ba8534642dbb6";
        // 获取access_token的请求地址
        public static final String WX_ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
        // 微信登陆请求获取用户信息
        public static final String WX_USER_INFO = "https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s";

    }
}
